class AfterPayEntity {
  //id+
  String payOption = "";
  //id+
  String payType = "";
  //id+
  String id = "";
  //名称+
  String name = "";
  String orderName = "";
  //价格+
  String price = "";
//是否中奖
  String beZonJian = "N";
  String userId = "";
  AfterPayEntity(
      {this.id,
      this.name,
      this.beZonJian,
      this.price,
      this.payOption,
      this.payType,
      this.userId});

  AfterPayEntity.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    beZonJian = json['beZonJian'];
    name = json['name'];
    price = json['price'];
    payOption = json['payOption'];
    payType = json['payType'];
    userId = json['userId'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['beZonJian'] = this.beZonJian;
    data['name'] = this.name;
    data['price'] = this.price;
    data['payOption'] = this.payOption;
    data['payType'] = this.payType;
    data['userId'] = this.userId;
    return data;
  }
}
